﻿using System.Collections.Specialized;
using System.Data;
using System.Web;

namespace XHD.Server
{
    public class Ajaxtest
    {
        public Ajaxtest(HttpContext context)
        {
        }

        public static string tt(NameValueCollection t)
        {
            var c = new BLL.CRM_Contact();
            DataSet ds = c.GetAllList();

            //return Common.GetGridJSON.DataTableToJSON(ds.Tables[0]);
            string aa = "test ";
            //for (int i = 0; i < t.Count; i++)
            //{
            //    aa += t[i].;
            //}

            //aa += t["a"];
            return aa;
        }
    }

    public class aa
    {
        private string a { get; set; }
        private string b { get; set; }
    }
}